package com.sixth.volunteerservicesystem.Dao;

import com.sixth.volunteerservicesystem.domain.Admins;
import com.sixth.volunteerservicesystem.domain.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface LoginDao {
    public List<Users> getlogin(@Param("userId") String userId,@Param("password") String password);
    public List<Admins> getloginadmin(@Param("adminId") String adminId, @Param("password") String password);
    public List<Users> getuserbyid(String userid);
    public List<Users> getuserbynickname(String nickname);
    public void insertuser(Users users);
}
